template matching

Terms from Artificial Intelligence: humans at the heart of algorithms

Template matching is when text or data is matched aganst simple patterns (templates). This can be appllied in natural language processing as an alternatuve to full parsing, especially in chatbots, for example, using a template such as "tell me about X" (using caps for variables). It can also be used in structured data, for example matching "

CONTENT

" in a web page, and in data detectors. In computer vision more compelx templates may be used to represent the visual appearance of objects to be matched against parts of an image.

Used on pages 265, 267, 291, 292